navigateUpFromSameTask
Convenience method that is equivalent to calling navigateUpTo(sourceActivity,
getParentActivityIntent (sourceActivity))
. sourceActivity will be finished by this call.
Note: This method should only be used when sourceActivity and the corresponding parent are within the same task. If up navigation should cross tasks in some cases, see shouldUpRecreateTask.
Parameters
sourceActivity
The current activity from which the user is attempting to navigate up